import request from "../utils/request";

const prefix='/universal-service/dict/'

export function getDict(param){
    return request({
        url:prefix.concat('get'),
        method:'get',
        params:param
    })
}


export function pageDict(param){
    return request({
        url:prefix.concat('page'),
        method:'get',
        params:param
    })
}

export function saveDict(param){
    return request({
        url:prefix.concat('save'),
        method:'post',
        data:param
    })
}

export function updateDict(param){
    return request({
        url:prefix.concat('update'),
        method:'post',
        data:param
    })
}
export function deleteDict(param){
    return request({
        url:prefix.concat('delete'),
        method:'post',
        data: param
    })
}
